export interface loginDataValue {
  loginName: string
  password: string
  type: string
  wxCode: string
  rememberMe: boolean
}

export class initLoginData {
  login: loginDataValue = {
    loginName: '',
    password: '',
    type: 'WEB',
    wxCode: '',
    rememberMe: false
  }

  rules = {
    loginName: [{ required: true, message: '用户名不能为空' }],
    password: [{ required: true, message: '密码不能为空' }]
  }
}
